#ifndef __heatRiseTest_H
#define __heatRiseTest_H
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>



#ifdef __cplusplus
 extern "C" {
#endif
#define INF 1000
#define Kk_calc(x,y)    (x)/(x+y)

typedef struct {
	float x_mea; // measure value, instead of random number
	float x_est; // estimate value
	float e_mea; // measure offset, can not be removed
	float e_est; // estimate offset
	float Kk; // Karlman Gain
}KalmanFilter;

void temperatureAndSystemCoreClockOutput(void);
int kalmanFilterAlgorithm(void);
#ifdef __cplusplus
}
#endif

#endif
